var express = require("express");
var router = express.Router();

// 导入用户路由处理函数
const { getComments, deleteComments } = require("../handleRouter/comments");

/**
 * 获取所有用户评论信息
 */
router.get("/getComments", getComments);

/**
 * 删除用户
 */
router.delete("/deleted", deleteComments);

// 导出路由对象
module.exports = router;
